package com.feng.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ArticleDetailVo {

    private String Id;

    private String title;

    private String summary;

    private String content;

    //所属分类ID
    private Long categoryId;

    private String categoryName;

    private String thumbnail;

    private Long viewCount;

    private Integer isComment;

    @JsonFormat(pattern = "yyyy年MM月dd日")
    private Date createTime;
}
